package com.honey.mybatis.generator.criteria;

public class CriteriaConstant {
	
	public static final String CRITERION_CLASS_NAME ="Criterion";
	
	public static final String CRITERIA_CLASS_NAME ="Criteria";
	
	public static final String CRITERION_FIELD_NAME ="criteria";
	
	public static final String CONDITION_FIELD_NAME="condition";
	
	public static final String GENERATED_CLASS_NAME ="Generated";
	
	public static final String TERM_CLASS_NAME ="Term";
	
	public static final String TERM_FIELD_NAME ="term";
	
	
	public static final String GENERATED_FIELD_NAME =GENERATED_CLASS_NAME.toLowerCase();
	
	public static final String GENERATED_CRITERIA_CLASS_NAME =GENERATED_CLASS_NAME + CRITERIA_CLASS_NAME;
	
	public static final String  GET_ALL_CRITERIA="getAll"+CRITERIA_CLASS_NAME;
	
	public static final String  GET_CRITERIA="get"+CRITERIA_CLASS_NAME;
	
	
	public static final String  ADD_CRITERIA_METHOD="add"+CRITERION_CLASS_NAME;
	
	
//=============================================================================================================	
	/** is null 条件。 */
	public static final String IS_NULL_FIELD_NAME = "IS_NULL";

	/** is not null条件。 */
	public static final String IS_NOT_NULL_FIELD_NAME = "IS_NOT_NULL";
	
	/** = 条件。 */
	public static final String EQUAL_TO_FIELD_NAME = "EQUAL_TO";

	/** <> 条件。 */
	public static final String NOT_EQUAL_TO_FIELD_NAME = "NOT_EQUAL_TO";

	/** > 条件。 */
	public static final String GREATER_THAN_FIELD_NAME = "GREATER_THAN";

	/** >= 条件。 */
	public static final String GREATER_THAN_OR_EQUAL_TO_FIELD_NAME = "GREATER_THAN_OR_EQUAL_TO";

	/** < 条件。 */
	public static final String LESS_THAN_FIELD_NAME = "LESS_THAN";

	/** <= 条件。 */
	public static final String LESS_THAN_OR_EQUAL_TO_FIELD_NAME = "LESS_THAN_OR_EQUAL_TO";

	/** in 条件。 */
	public static final String IN_FIELD_NAME = "IN";
	
	/** not in 条件。 */
	public static final String NOT_IN_FIELD_NAME = "NOT_IN";

	/** between 条件。 */
	public static final String BETWEEN_FIELD_NAME = "BETWEEN";

	/** not between 条件。 */
	public static final String NOT_BETWEEN_FIELD_NAME = "NOT_BETWEEN";

	/** like 条件。 */
	public static final String LIKE_FIELD_NAME = "LIKE";
	
	/** not like 条件。 */
	public static final String NOT_LIKE_FIELD_NAME = "NOT_LIKE";
	
}
